home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / program / dfvb19.zip / DFRAMEVB.INC < prev    next >
Text File  |  1993-12-02  |  15KB  |  250 lines

  1. DECLARE SUB Back.Space (Row%, Col%, Num%)
  2. DECLARE SUB BOX.IT (TROW%, LCOL%, BROW%, RCOL%, BOXTYPE%, BOXFG%, BOXBG%, FILLFG%, FILLBG%, FILLCHAR%, SHADOW%, TITLE$, HFG%, HBG%)
  3. DECLARE SUB Cipher (St$, Password$)
  4. DECLARE SUB CipherP (St$, Password$)
  5. DECLARE SUB ClearBuffer (Buff%)
  6. DECLARE SUB ClrKbd ()
  7. DECLARE SUB CLREOL (XPOS%, YPOS%, BGC%)
  8. DECLARE SUB CLRMOL (XPOS%, YPOS%, LENGTH%, BGC%)
  9. DECLARE SUB CLRSOL (XPOS%, YPOS%, BGC%)
  10. DECLARE SUB CLRSCRN (CLR%)
  11. DECLARE SUB DE.LAY (BYVAL Seconds AS INTEGER)
  12. DECLARE SUB DETECT.ANSI ()
  13. DECLARE SUB DIS.PLAY (MSG$, FGC%, BGC%, BLINK%, BELL%, XPOS%, YPOS%, NL%, CENTER%, Caps%, Codes%)
  14. DECLARE SUB ENTER ()
  15. DECLARE SUB ERRORS (ERRNUM%, ERRLINE%)
  16. DECLARE SUB EXIT.DOOR (YN$)
  17. DECLARE SUB INITIALIZE ()
  18. DECLARE SUB IN.PUT (RLEN%, WAITTIME&, IFG%, IBG%, AutoCR%, Text$, TFG%, TBG%, X%, Y%, ShowIt%)
  19. DECLARE SUB IN.KEY ()
  20. DECLARE SUB KEYTIMER (KEYSTART&)
  21. DECLARE SUB LINES (SROW%, SCOL%, LENGTH%, Direction$, ENDS%, MID%, EFG%, EBG%, MFG%, MBG%)
  22. DECLARE SUB MAKE.BLT (HI.SCORE&)
  23. DECLARE SUB MAKE.BLT.CURRENT (HI.SCORE&)
  24. DECLARE SUB MORE ()
  25. DECLARE SUB MUSIC (TUNE$)
  26. DECLARE SUB OUT.PUT (LF%)
  27. DECLARE SUB SEND (MSG$, YN%, CLR%)
  28. DECLARE SUB SENDANSI (MSG$, YN%, Inter%)
  29. DECLARE SUB SHOW.BLT (YN$)
  30.  
  31. DECLARE FUNCTION CheckShare2% ()
  32. DECLARE FUNCTION DriveSpace& (Drive$)
  33. DECLARE FUNCTION NameCase2$ (St$)
  34. DECLARE FUNCTION Sec2Time$ (Seconds&)
  35. DECLARE FUNCTION Time2Sec& (TimeSt$)
  36.  
  37. DECLARE SUB BigPrint (St$, PixelCh$, BYVAL Row%, BYVAL Column%, BYVAL Attr%)
  38. DECLARE SUB CalcAttr (BYVAL Fore%, BYVAL Back%, Attr%)
  39. DECLARE SUB CalcDate (StartDate$, Days&, Direction%, NewDate$, ErrCode%)
  40. DECLARE SUB CDROM (FirstDrive$, Drives%)
  41. DECLARE SUB CheckDate (MonthNr%, DayNr%, YearNr%, ErrCode%)
  42. DECLARE SUB CheckShare (ShareActive%)
  43. DECLARE SUB DateA2R (MonthNr%, DayNr%, YearNr%, RelDate&)
  44. DECLARE SUB DateN2S (MonthNr%, DayNr%, YearNr%, DateSt$)
  45. DECLARE SUB DateR2A (MonthNr%, DayNr%, YearNr%, RelDate&)
  46. DECLARE SUB DateS2N (MonthNr%, DayNr%, YearNr%, DateSt$)
  47. DECLARE SUB DelFile (FileName$, ErrCode%)
  48. DECLARE SUB DrvType (Drive$, Removeable%, Remote%, ErrCode%)
  49. DECLARE SUB Elapsed (TimeStart$, TimeStop$, ElapsedT$)
  50. DECLARE SUB EMSBuffer (Bytes%)
  51. DECLARE SUB EMSClose (BYVAL ArrayHandle%)
  52. DECLARE SUB EMSGet (BYVAL ArrayHandle%, ElementNr&, Value AS ANY)
  53. DECLARE SUB EMSOpen (Elements&, ElementType%, ArrayHandle%, ErrCode%)
  54. DECLARE SUB EMSPut (BYVAL ArrayHandle%, ElementNr&, Value AS ANY)
  55. DECLARE SUB EMSRest (ArrayState$)
  56. DECLARE SUB EMSSave (ArrayState$)
  57. DECLARE SUB EnhKbd (BYVAL Enable%)
  58. DECLARE SUB EuropeDate (DateSt$, FormatSt$, Result$, ErrCode%)
  59. DECLARE SUB FormatDate (DateSt$, FormatSt$, Result$, ErrCode%)
  60. DECLARE SUB Get4DosV (MajorV%, MinorV%)
  61. DECLARE SUB GetDOSv (MajorVersion%, MinorVersion%)
  62. DECLARE SUB GetDView (MajorV%, MinorV%)
  63. DECLARE SUB GetKbd (Insrt%, Caps%, Num%, ScrollLock%)
  64. DECLARE SUB GetKbd1 (LShift%, RShift%, Cntrl%, Alt%)
  65. DECLARE SUB GetLIMHandles (Handles%)
  66. DECLARE SUB GetLIMm (TotalPages%, FreePages%)
  67. DECLARE SUB GetLIMv (MajorVersionNum%, MinorVersionNum%)
  68. DECLARE SUB GetTView (Installed%)
  69. DECLARE SUB GetTVScreen (DSeg%, DOfs%)
  70. DECLARE SUB KbdType (EnhancedKbd%)
  71. DECLARE SUB LClose (BYVAL EMSHandle%)
  72. DECLARE SUB LGet (BYVAL EMSHandle%, BYVAL DSeg%, BYVAL DOfs%, BYVAL WORDS%)
  73. DECLARE SUB LOpen (BYVAL WORDS%, EMSHandle%, ErrCode%)
  74. DECLARE SUB LPut (BYVAL EMSHandle%, BYVAL DSeg%, BYVAL DOfs%, BYVAL WORDS%)
  75. DECLARE SUB LRotate (St$)
  76. DECLARE SUB Namecase (St$)
  77. DECLARE SUB Processor (CPU%)
  78. DECLARE SUB Retries (BYVAL Tries%, BYVAL RetryPauseLen%)
  79. DECLARE SUB Reverse (St$)
  80. DECLARE SUB RInstr (MainSt$, SubSt$, Posn%)
  81. DECLARE SUB SetError (BYVAL ErrorLevel%)
  82. DECLARE SUB SetKbd (BYVAL Insrt%, BYVAL Caps%, BYVAL Num%, BYVAL ScrollLock%)
  83. DECLARE SUB TInstr (St$, BYVAL ChrType%, Place%)
  84. DECLARE SUB UnCalcAttr (FG%, BG%, BYVAL Attr%)
  85. DECLARE SUB UpdTVScreen (DSeg%, DOfs%)
  86. DECLARE SUB WinCheck (MajorV%, MinorV%)
  87.  
  88. 'NOTE: The following variables are not universally available.
  89. '      Check DFRAMEX.DOC for variables available to each BBS system's file.
  90.  
  91. COMMON SHARED Active.Menu%              '0=Main,1=Msg,2=File,3=Sysop (WC 3.0+)
  92. COMMON SHARED Alias$                    'Caller's alias/handle
  93. COMMON SHARED AllowedBytes&             'Allowed BYTES from the PCB PWRD file.
  94. COMMON SHARED AlreadyConnected$         '"TRUE" or "FALSE"
  95. COMMON SHARED AnsiOn$                   '"TRUE" or "FALSE"
  96. COMMON SHARED AnsiSupport$              'Caller supports ANSI but in NG mode
  97. COMMON SHARED Auto.Recycle%             '0 = Return control to programmer on
  98.                                         'carrier loss. 1 = Automatic recyle
  99.                                         'and return to BBS (Default).
  100. COMMON SHARED Banked.Time%              'WildCat! v3.0+
  101. COMMON SHARED BaudConn$                 'Connect rate of caller or "LOCAL"
  102. COMMON SHARED BaudOpen$                 'Port opening BPS
  103. COMMON SHARED BaudRate$                 'Baud and parity for DORINFO
  104. COMMON SHARED BBSColor%                 'BBS default color code (1-15)
  105. COMMON SHARED BBSDir$                   'Spitfire's home directory
  106. COMMON SHARED BBSSys$                   'Name of the BBS
  107. COMMON SHARED BBSName$                  'DORINFO
  108. COMMON SHARED BirthDate$                'Caller's date of birth
  109. COMMON SHARED BltPath$                  'Path of the high score bulletin.
  110. COMMON SHARED CallAlarm%                'Caller alarm status.     -1=ON, 0=OFF
  111. COMMON SHARED CallersLoc$               'Location of CALLERSx log
  112. COMMON SHARED ChatStatus$               'Chat mode status. "U" or "A"
  113. COMMON SHARED Check4RIP%                '0=No check for RIPscrip, non-zero=yes
  114. COMMON SHARED City$                     'Caller's city and state
  115. COMMON SHARED CNAMESLoc$                'Location of CNAMES
  116. COMMON SHARED Command.Line$             'Y or N, WildCat! v3.0+
  117. COMMON SHARED Comport%                  'COM port number
  118. COMMON SHARED ConfReg$                  'Conference registration
  119. COMMON SHARED Console$                  '"LOCAL" or "REMOTE"
  120. COMMON SHARED Daily.Bytes.Alwd&         'Daily download max. K limit
  121. COMMON SHARED DailyDnldBytes&           'Bytes downloaded so far today.
  122. COMMON SHARED DataBits$                 '7 OR 8
  123. COMMON SHARED DeleteFlag%               '1 = delete this record, 0 = keep
  124. COMMON SHARED Display%                  'Local display status.    -1=ON, 0=OFF
  125. COMMON SHARED DLPerDay&                 'Number of downloads allowed per day
  126. COMMON SHARED DLToday&                  'Number of downloads made today
  127. COMMON SHARED Door.DL&                  'WildCat 3.0+ # files DL'ed in door
  128. COMMON SHARED Door.KB&                  'WildCat 3.0+ Total K DL'ed in door
  129. COMMON SHARED Door.Logoff$              'WildCat 3.0+ Y or N if user logged
  130.                                         'off from within the door
  131. COMMON SHARED DoorNumber$               '
  132. COMMON SHARED Doors.Opened%             'Number of Doors he has opened
  133. COMMON SHARED DorInfo13th$              '13th line for RBBS DORINFO
  134. COMMON SHARED Downloads&                'Number of downloads made
  135. COMMON SHARED ECC%                      'Error corrected connect.  1=YES, 0=NO
  136. COMMON SHARED EnterDoor$                'Time caller entered the door
  137. COMMON SHARED Event$                    'Event time (hh:mm)
  138. COMMON SHARED ExeName$                  'Name of .EXE (Programmer supplied)
  139. COMMON SHARED ExitFrom$                 'Conference exited BBS from
  140. COMMON SHARED Expert$                   'Expert mode - "Y" or "N"
  141. COMMON SHARED Expire$                   'Caller's expiration date
  142. COMMON SHARED ExpiredLevel&             'Expired Security level
  143. COMMON SHARED ExtraTime&                'Number of seconds gained since logon
  144. COMMON SHARED First$                    'Caller's first name
  145. COMMON SHARED Fossil%                   '0 = No Fossil driver, 1 = yes
  146. COMMON SHARED FrontEnd$                 '"TRUE" or "FALSE" if booted from a
  147.                                         'front end program.
  148. COMMON SHARED Graphics%                 'Graphics mode status.    -1=ON, 0=OFF
  149. COMMON SHARED Hi.Ascii%                 '1 = Allow IN.PUT to accept ASCII
  150.                                         'values 128 - 255. Default = 0
  151. COMMON SHARED HPhone$                   'Caller's home phone number
  152. COMMON SHARED IRQ%                      'For use with non-standard IRQ's
  153.                                         '(other than IRQ3 or IRQ4)
  154. COMMON SHARED Language$                 'PCBoard language extension
  155. COMMON SHARED LastConf%                 'Conference number last in.
  156. COMMON SHARED LastFArea$                'Last file area
  157. COMMON SHARED LastMConf$                'Last message conference
  158. COMMON SHARED LastMsg$                  'Last message read
  159. COMMON SHARED LastOn$                   'Date caller last logged on (MM-DD-YY)
  160. COMMON SHARED LastOnDate$               'Date and time of last call
  161. COMMON SHARED LastScan$                 'Date of last directory/new files scan
  162. COMMON SHARED LastTimeOn$               'Last time caller was on
  163. COMMON SHARED Level&                    'Caller's security level
  164. COMMON SHARED LocalUsr%                 '-1 = LOCAL mode, 0 = Online
  165. COMMON SHARED LogonHrs$                 'Time caller logged on in HH:MM format
  166. COMMON SHARED LogonMins%                'Time caller logged on in minutes
  167. COMMON SHARED LogonSecs&                'Number of seconds since midnight
  168.                                         'when caller logged on to the BBS.
  169. COMMON SHARED LogonTimeDate$            'Date and time of this call
  170. COMMON SHARED MaxBaud$                  'Maximum baud of the system
  171. COMMON SHARED Max.Files&                'Maximum daily files available
  172. COMMON SHARED MinsCredit%               'Time credits in minutes
  173. COMMON SHARED MNP$                      '"MNP/ARQ Connection" or
  174.                                         '"Normal Connection"
  175. COMMON SHARED Mode%                     '0 = Non-color, -1 = color is on
  176. COMMON SHARED Msgs.Left&                'Total messages left
  177. COMMON SHARED Msgs.Read&                'Total messages read
  178. COMMON SHARED Name$                     'Caller's full name
  179. COMMON SHARED Network%                  '1 = BBS is networked, 0 = no network
  180. COMMON SHARED Network$                  'DORINFO network type
  181. COMMON SHARED NoCarrier%                '0 = Carrier present, 1 = No carrier
  182. COMMON SHARED NodeNum%                  'Node number
  183. COMMON SHARED NoDTELock$                '"TRUE" or "FALSE" if configured for
  184.                                         'software data flow control.
  185. COMMON SHARED No.Status%                '0 = Show Status line, 1 = Don't
  186. COMMON SHARED Owner$                    'DoorFrame registered owners name.
  187. COMMON SHARED PageBell%                 'Page bell status.        -1=ON, 0=OFF
  188. COMMON SHARED PageLen%                  'Caller's page length
  189. COMMON SHARED Param$                    'Configuration filename
  190. COMMON SHARED Parity%                   'Parity (word length?) (7 or 8)
  191. COMMON SHARED Password$                 'Password of caller
  192. COMMON SHARED PathGen$                  'Path to the GEN directory
  193.                                         'Path to Allfiles.dat DIR for WC 3.0+
  194. COMMON SHARED PathMain$                 'Path to the MAIN directory
  195.                                         'Path to BBS dir. for WC 3.0+
  196. COMMON SHARED PCBDat$                   'Location of PCBOARD.DAT
  197. COMMON SHARED PCB.Version%              'PCBoard version number (i.e. 1450)
  198. COMMON SHARED Printor%                  'Printer status.          -1=ON, 0=OFF
  199. COMMON SHARED ProgName$                 'Name of DOOR (Programmer supplied)
  200. COMMON SHARED Protocol$                 'Caller's default protocol (Z, X, etc)
  201. COMMON SHARED Response$                 'Returned after a CALL to IN.PUT
  202. COMMON SHARED Rip%                      '0=no RIPscrip detected, 1=yes
  203. COMMON SHARED Rip$                      'Contains RIPscrip ver. # (if active)
  204. COMMON SHARED RTS$                      ' Y = RTS/CTS, N = No RTS/CTS (TriBBS)
  205. COMMON SHARED Sec.Level.Name$           'WildCat! v3.0+
  206. COMMON SHARED Seconds&                  'Number of seconds since midnight
  207.                                         'when caller entered the door.
  208. COMMON SHARED Serial$
  209. COMMON SHARED SysLoc$
  210. COMMON SHARED Sysop%                    '1 = SYSOP is using DOOR, 0 otherwise
  211. COMMON SHARED SysOpFirst$               'Sysop's first name
  212. COMMON SHARED SysOpFlag$                '" ", "N"=Sysop Next, "X"=Exit to DOS
  213. COMMON SHARED SysopKeys%                'Sysop keys 0=arrows, 1=alternate set
  214. COMMON SHARED SysOpLast$                'Sysop's last name
  215. COMMON SHARED SysOpName$                'Sysop's first and last names
  216. COMMON SHARED SysOpNext$                '"TRUE" or "FALSE"
  217. COMMON SHARED System.File%              '1 = PCBOARD.SYS     2 = USERS.SYS
  218.                                         '3 = DOOR.SYS        4 = CALLINFO.BBS
  219.                                         '5 = Not Used        6 = DORINFOx.DEF
  220.                                         '7 = SFDOORS.DAT     8 = USERINFO.DAT
  221.                                         '9 = GTUSER.BBS     10 = TRIBBS.SYS
  222. COMMON SHARED TimeAdjust%               'Use to adjust the callers time
  223.                                         'remaining online (in minutes).
  224. COMMON SHARED TimeAlwd%                 'Minutes caller is allowed
  225. COMMON SHARED TimeLastCall$             'Time of last call (hh:mm)
  226. COMMON SHARED TimeLeft%                 'Time caller has left in minutes
  227. COMMON SHARED TimeNow%                  'Current time in minutes
  228. COMMON SHARED TimeOff$                  'Time caller exited the door
  229. COMMON SHARED TimeOut%                  'Keyboard timeout in secs. default=300
  230. COMMON SHARED TimesOn%                  'Number of times on system
  231. COMMON SHARED TimeUsed%                 'Time used so far today in minutes
  232. COMMON SHARED Total.Bytes.Alwd&         'Max. bytes allowed
  233. COMMON SHARED Total.Bytes.Today&        'Daily download K total
  234. COMMON SHARED Total.KB.Dl&              'Total K bytes downloaded
  235. COMMON SHARED Total.KB.Ul&              'Total K bytes uploaded
  236. COMMON SHARED TotDnldBytes&             'Total number of BYTES downloaded
  237. COMMON SHARED TotUpldBytes&             'Total number of BYTES uploaded
  238. COMMON SHARED Uploads&                  'Number of uploads made
  239. COMMON SHARED UserComment$              'User maintained comment
  240. COMMON SHARED UserNum%                  'Record number of caller
  241. COMMON SHARED UserNetLoc$               'Location of PCBoard USERNET.DAT
  242. COMMON SHARED UsersLoc$                 'Location of PCBOARD USERS file
  243. COMMON SHARED Version$                  'DOOR version # (Programmer supplied)
  244. COMMON SHARED WPhone$                   'Caller's work phone number
  245.  
  246. CONST BLACK = 0, BLUE = 1, GREEN = 2, CYAN = 3, RED = 4, MAGENTA = 5
  247. CONST YELLOW = 6, WHITE = 7, GRAY = 8, LBLUE = 9, LGREEN = 10, LCYAN = 11
  248. CONST LRED = 12, LMAGENTA = 13, LYELLOW = 14, LWHITE = 15
  249.  
  250.